package cn.stimd.spring.context.annotation;

import org.springframework.core.type.MethodMetadata;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public class BeanMethod {
    private final MethodMetadata metadata;                  //方法的元数据
    private final ConfigurationClass configurationClass;    //外层的配置类

    public BeanMethod(MethodMetadata metadata, ConfigurationClass configurationClass) {
        this.metadata = metadata;
        this.configurationClass = configurationClass;
    }

    public MethodMetadata getMetadata() {
        return metadata;
    }

    public ConfigurationClass getConfigurationClass() {
        return configurationClass;
    }
}
